#ifndef FORMTEXT_H
#define FORMTEXT_H

#include <QWidget>
#include <QApplication>
#include <QTextCodec>


namespace Ui {
class FormText;
}

class FormText : public QWidget
{
    Q_OBJECT

public:
    explicit FormText(QWidget *parent = nullptr);
    ~FormText();

private slots:
    void on_toolButton_clicked();

    void on_SysParams_activated(const QString &arg1);

private:
    Ui::FormText *ui;
    QString baseUrl = QApplication::applicationDirPath();
    QTextCodec *code = QTextCodec::codecForName("gb2312");    //打开系统配置文件
   void modifyByRegExp(QString fileSource,QString fileDest);
};

#endif // FORMTEXT_H
